package com.itcast.springboot.waste_recovery.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 所有订单废品信息
 * </p>
 *
 * @author 小破烂
 * @since 2020-08-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="OrderWaste对象", description="所有订单废品信息")
public class OrderWaste implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "订单废品id")
      @TableId(value = "order_waste_id", type = IdType.ID_WORKER)
    private Integer orderWasteId;

    @ApiModelProperty(value = "订单id")
    private Integer orderId;

    @ApiModelProperty(value = "废品id")
    private Integer wasteDataId;

    @ApiModelProperty(value = "订单对应废品重量/个数")
    private Float orderWasteDataNum;

    @ApiModelProperty(value = "订单对应废品总价")
    private Float orderWasteDataTotalPrice;
}
